package BankingApplication;

public class SavingsAccount extends Account
{
	
	public SavingsAccount (int accountNum, AccountOwner accountOwner, double startBal, double minBal)
	{
		super(accountNum, accountOwner, startBal);
		this.accountType = AccountType.SAVINGS;
		super.minBalance = minBal;
	}
	
	public double addInterest (double interestRate) 
	{
		return balance = balance + (balance * interestRate);
	}
	
	

}
